//
//  DLProducer.h
//  duilian
//
//  Created by shaojinkuang on 6/13/16.
//  Copyright © 2016 shaojinkuang. All rights reserved.
//

#import <Foundation/Foundation.h>

//网络库
#import "byNetworkHelper.h"
typedef void (^contentBlock)(id object);
@interface DLItem : NSObject

//以数据源dic初始化此item
- (instancetype)initWithDataDic:(NSDictionary*)dic;
//获取对联SegmentPattern
- (NSString *)getSegmentPattern;
//获取队列候选词列序列
- (NSArray*)getWordCandidatesInColumnOrder;
//获取所有候选下联
- (NSArray*)getXialianCandidates;
@end
@interface DLProducer : NSObject

//获取所有下联内容 ---- 参数为接口所需要的key-value，因为可能需要更新
- (void)getAllXiaLianContent:(NSDictionary*)param cb:(contentBlock)cb;
@end
